package com.vietnam.power.constant;

public class ProductConstant {
	public enum SortBy {
		RECENT(1, "sort.by.recent"), LOWEST_PRICE(2, "sort.by.lowest.price"), HIGHEST_PRICE(3, "sort.by.highest.price"), POPULAR(4, "sort.by.popular");

		private int sortId;
		private String keyCode;

		SortBy(int sortId, String keyCode) {
			this.sortId = sortId;
			this.keyCode = keyCode;
		}

		public int getSortId() {
			return sortId;
		}

		public void setSortId(int sortId) {
			this.sortId = sortId;
		}

		public String getKeyCode() {
			return keyCode;
		}

		public void setKeyCode(String keyCode) {
			this.keyCode = keyCode;
		}
	}

	public static int MAX_RESULTS_PER_PAGE = 12;
	public static  String CURRENCY_FORMART = "#,###,###";
}
